<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
<h1>欢迎来到Spring Security!!!</h1>
<form action="/sys/myLogin" method="POST">
    <label>用户名 <input type="text" name="userName" placeholder="请输入用户名"></label>
    <label>密码 <input type="password" name="password" placeholder="请输入密码"></label>
    <button type="submit"  value="登录"></button>>
</form>

</body>
</html>